﻿using System;
using RevitInteractiveUtility.ExternalEventManager;

namespace YJKSparseDisOfDoor.ModelLayer
{
	public class LocationAWayRequest : IRequest
	{
		public int RequestId
		{
			get
			{
				return 0;
			}
		}

		public void DoRequest(object parameters = null)
		{
			LocationAWayBean locationAWayBean = null;
			if (parameters is LocationAWayBean)
			{
				locationAWayBean = (parameters as LocationAWayBean);
			}
			if (locationAWayBean != null)
			{
				Utility.ZoomEntiy(locationAWayBean.UseUIDoc, locationAWayBean.UseBean, locationAWayBean.UseForm, locationAWayBean.IfStartDoor);
			}
		}
	}
}
